//
//  CollectionViewCell.m
//  National flag
//
//  Created by Justsoso on 16/3/9.
//  Copyright © 2016年 Justsoso. All rights reserved.
//

#import "CollectionViewCell.h"

@implementation CollectionViewCell

- (void)setFlag:(FlagModel *)flag
{
    _flag = flag;
    
    self.imageNameView.image = [UIImage imageNamed:flag.imageName];
    self.nameLabel.text = flag.name;
}
@end
